package Ooday01;

public class StudentTest {
    public static void main(String[] args) {
        Student zg=new Student();
        zg.name="小黑";
        zg.age=18;
        zg.className="一班";
        zg.stuId="2024";
        //调用方法
        zg.study();
        zg.sayHi();
        zg.playWith("老王");

        Student xh=new Student();
        xh.name="隔壁老王";
        xh.age=21;
        xh.className="11";
        xh.stuId="111";
        xh.sayHi();
        xh.study();
        xh.playWith("熊大");
        Student ll=new Student();
        ll.name="李林";
        ll.age=14;
        ll.className="457";
        ll.stuId="10223";
        //调用方法
        ll.study();
        ll.sayHi();
        ll.playWith("老王");
    }
}
